package org.hxyjs.service;


import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Children;
import org.hxyjs.entity.Children;
import org.hxyjs.page.PageInfo;

public interface ChildrenService {
    /**
     * 查询全部管理员
     * @return
     */
    public DTO<Children> getAllChildrens() throws Exception;
    /**
     * 删除管理员
     * @return
     */
    public DTO<Children> deleteChildrenByCno(String cno) throws Exception;
    /**
     * 修改管理员
     * @return
     */
    public DTO<Children> updateChildrenByCno(Children children) throws Exception;
    /**
     * 增加管理员
     * @return
     */
    public DTO<Children> addChildren(Children children) throws Exception;
    /**
     * 分页查询儿童
     * @return
     */
    public DTO<Children> getChildrenByPage(PageInfo pageInfo) throws Exception;

}
